package com.eastfair.venuebooking.api;

import com.eastfair.core.base.R;
import com.eastfair.venueservice.dto.RepairReportDTO;
import com.eastfair.venueservice.entity.RepairReport;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 报修申请 feign.
 *
 * @author dqq
 * @date 2022 /11/24
 */
@FeignClient("venue-services-manage/repairReport")
public interface RepairReportFeign {

    /**
     * 保存报修申请.
     *
     * @param repairReportDTO the repair report dto
     * @return the r
     */
    @PostMapping("/save")
    R<RepairReport> saveRepairReport(@RequestBody RepairReportDTO repairReportDTO);
}